package com.ougy.reshop.service.impl;

import org.springframework.stereotype.Service;

import com.ougy.reshop.model.Region;
import com.ougy.reshop.service.ISRegion;

@Service
public class SRegion extends BaseServices implements ISRegion {
	@Override
	public String getName(int id) {
		Region region=load(id);
		if(region!=null){
			return region.getName();
		}
		return null;
	}
	@Override
	public Region load(int id) {
		return regionDao.load(id);
	}

}
